package com.yaoxun.bored.common;

/**
 * 分页结果JSON
 * 
 * @author Loren
 * @createTime 2018年2月2日 下午5:56:27
 */
public class PageResult {

	private long total;
	
	private Object rows;
	
	public PageResult() {
		super();
	}

	public PageResult(long total, Object rows) {
		super();
		this.total = total;
		this.rows = rows;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}

	@Override
	public String toString() {
		return "DataResult [total=" + total + ", rows=" + rows + "]";
	}
	
}
